package com.ax.business.prescription.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

import com.ax.business.prescription.domain.PrescriptionAudit;

@Mapper
public interface PrescriptionAuditMapper {
    int deleteByPrimaryKey(Long prescriptionAuditId);

    int insert(PrescriptionAudit record);

    int insertSelective(PrescriptionAudit record);

    PrescriptionAudit selectByPrimaryKey(Long prescriptionAuditId);

    int updateByPrimaryKeySelective(PrescriptionAudit record);

    int updateByPrimaryKey(PrescriptionAudit record);
    
    /**
	 * 查看处方审核详情(或全部)
	 * 
	 * @param Map<String, Object> map
	 *           
	 * @return List<PrescriptionAudit>
	 */
    List<PrescriptionAudit> queryPrescriptionAuditingMapper(Map<String,Object> map);
    
    /**
	 * 分页记数
	 * 
	 * @param Map<String, Object> map
	 *           
	 * @return Integer
	 */
    Integer count(Map<String,Object> map);
}